<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>png++: png::image&lt; pixel &gt;::pixel_consumer Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">png++
   &#160;<span id="projectnumber">0.2.1</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespacepng.html">png</a>      </li>
      <li class="navelem"><a class="el" href="classpng_1_1image.html">image</a>      </li>
      <li class="navelem"><a class="el" href="classpng_1_1image_1_1pixel__consumer.html">pixel_consumer</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">png::image&lt; pixel &gt;::pixel_consumer Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="png::image::pixel_consumer" --><!-- doxytag: inherits="png::image::streaming_impl" -->
<p>The pixel buffer adapter for reading pixel data.  
 <a href="classpng_1_1image_1_1pixel__consumer.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="image_8hpp_source.html">image.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for png::image&lt; pixel &gt;::pixel_consumer:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classpng_1_1image_1_1pixel__consumer.png" usemap="#png::image&lt; pixel &gt;::pixel_consumer_map" alt=""/>
  <map id="png::image&lt; pixel &gt;::pixel_consumer_map" name="png::image&lt; pixel &gt;::pixel_consumer_map">
<area href="classpng_1_1image_1_1streaming__impl.html" title="A common base class template for pixel_consumer and pixel_generator classes." alt="png::image&lt; pixel &gt;::streaming_impl&lt; base_impl &gt;" shape="rect" coords="0,0,549,24"/>
</map>
 </div></div>

<p><a href="classpng_1_1image_1_1pixel__consumer-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpng_1_1image_1_1pixel__consumer.html#a635b7414e88321adb39a21c9814ba23e">pixel_consumer</a> (<a class="el" href="classpng_1_1image__info.html">image_info</a> &amp;<a class="el" href="classpng_1_1info.html">info</a>, <a class="el" href="classpng_1_1image.html#a18629fd28aaeb35bccbdf0c4d8715924">pixbuf</a> &amp;pixels)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpng_1_1image_1_1pixel__consumer.html#a99fe77d0a8fb981e3b92280065dc0b69">reset</a> (size_t pass)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename pixel&gt;<br/>
class png::image&lt; pixel &gt;::pixel_consumer</h3>

<p>The pixel buffer adapter for reading pixel data. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a635b7414e88321adb39a21c9814ba23e"></a><!-- doxytag: member="png::image::pixel_consumer::pixel_consumer" ref="a635b7414e88321adb39a21c9814ba23e" args="(image_info &amp;info, pixbuf &amp;pixels)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename pixel &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classpng_1_1image.html">png::image</a>&lt; pixel &gt;::<a class="el" href="classpng_1_1image_1_1pixel__consumer.html#a635b7414e88321adb39a21c9814ba23e">pixel_consumer::pixel_consumer</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classpng_1_1image__info.html">image_info</a> &amp;&#160;</td>
          <td class="paramname"><em>info</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classpng_1_1image.html#a18629fd28aaeb35bccbdf0c4d8715924">pixbuf</a> &amp;&#160;</td>
          <td class="paramname"><em>pixels</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a99fe77d0a8fb981e3b92280065dc0b69"></a><!-- doxytag: member="png::image::pixel_consumer::reset" ref="a99fe77d0a8fb981e3b92280065dc0b69" args="(size_t pass)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename pixel &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpng_1_1image.html">png::image</a>&lt; pixel &gt;::<a class="el" href="classpng_1_1image_1_1pixel__consumer.html#a99fe77d0a8fb981e3b92280065dc0b69">pixel_consumer::reset</a> </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>pass</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>References <a class="el" href="classpng_1_1image.html#a2b7a1e585b83533491dca1437072d7c6">png::image&lt; pixel &gt;::get_height()</a>, <a class="el" href="classpng_1_1image.html#a381477824c5c49c922abf7a050b4a7f3">png::image&lt; pixel &gt;::get_width()</a>, <a class="el" href="classpng_1_1image_1_1streaming__impl.html#acc28116577b5d265e6d04891c6217261">png::image&lt; pixel &gt;::streaming_impl&lt; base_impl &gt;::m_pixbuf</a>, and <a class="el" href="classpng_1_1basic__pixel__buffer.html#a24464e17d19d43102b4ea1ba1e8f75d2">png::basic_pixel_buffer&lt; pixel, row, traits &gt;::resize()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="image_8hpp_source.html">image.hpp</a></li>
</ul>
</div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Generated on Fri Jan 25 2013 14:10:10 for png++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
